package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.dto.UserDto;
import com.qf.pojo.User;

/**
 * Created by jackiechan on 2021/6/7 16:15
 *
 * @author jackiechan
 */

public interface IUserService {
    /**
     * 分页查询用户数据
     * @param page 当前第几页
     * @param limit 每页要多少条
     * @return
     */
    PageInfo<User> findAllUserByPage(int page, int limit,String username,int status);


    void addUser(UserDto user);

    int deleteByIds(Integer[] ids);
    int updateUser( UserDto userDto);
}
